/**
 * Created by coder on 2018/6/4.
 */

/*
const log = function ( ...values ){
    if(process.env.NODE_ENV === 'development'){
        console.log(values);
    }
};

export default {
    log,
};*/

let WtLogger = null;

if(process.env.NODE_ENV === 'development') {
    WtLogger = console;
} else {
    WtLogger = {
        log:() => {},
        error:() => {}
    };
}

export default WtLogger;
